﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.Kinect;
using System.Windows.Media.Imaging;
using System.Windows.Media;
using System.Windows.Shapes;
using System.Threading;

namespace KinectGame
{
    public partial class KinectSetup : KinectBaseForm
    {
        public KinectSetup()
        {
            InitializeComponent();
        }

        public override void Click(int horizontalIndex, int verticalIndex)
        {
            if (verticalIndex == 0) this.textBoxInstructions.Text = Instructions.HandsRecognised;
            if (verticalIndex == 1) this.textBoxInstructions.Text = Instructions.LeftUpFound;
            if (verticalIndex == 2) this.textBoxInstructions.Text = Instructions.LeftDownFound;
            if (verticalIndex == 3) this.textBoxInstructions.Text = Instructions.RightDownFound;
            if (verticalIndex == 4) this.textBoxInstructions.Text = Instructions.RightUpFound; 
        }
    }
}
